var express = require('express');
var router = express.Router();
var common = require('../common');
//调用PHP等外部http接口
router.get('/', function(req, res, next) {
	common.sendLog(req, res,{name:'张三',id:18},doSomething);
	res.end("");
});
//回调函数
function doSomething(data) {
	console.log("本次调用的回值:"+data);
	return data;
}
module.exports = router;
